from pyquery import PyQuery as pq
import re
url = 'https://www.dytt8.net/'
doc = pq(url=url, encoding='gb2312')

# listfor = doc("#listcontent").find("li")

obj = re.compile(f"<strong>2021新片精品</strong>.*?<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">(?P<table>.*?)</table>",re.S)

result = obj.finditer(str(doc))

for it in result:
    print(it.group())



